{% extends 'GlpmrUserBundle::layout.html.twig' %}

{% block body %}

    {# FORMULAIRE D'IMPORTATION #}
    <div class="row">
        <h1>Importer des utilisateurs</h1>
        <h6><i class="mdi-alert-error left big"></i> CSV format : username;email;password;promotion</h6>
    </div><br />
    <div class="row">
        <form action="{{ path('glpmr_user_importer') }}" method="POST" enctype="multipart/form-data">
            <div class="section">
                <h5>Choisir un fichier :</h5>

                <input id="file" type="file" name="file"/>

                <button class="btn teal" type="submit" name="action">Submit
                    <i class="mdi-content-send right"></i>
                </button> 
                <div class="divider"></div>
            </div>

        </form>
    </div>


{% endblock %}